package com.aspose.cells;

class zpg {
   zpi a = null;
   private long b;

   zpg() {
      if (this.a == null) {
         this.a = new zpi();
      }

   }

   boolean a(long var1) {
      return (this.b & var1) != 0L;
   }

   void b(long var1) {
      this.b |= var1;
   }

   void a(long var1, boolean var3) {
      if (var3) {
         this.b |= var1;
      } else {
         this.b &= ~var1;
      }

   }

   void a() {
      this.b = 0L;
   }

   void b() {
      this.b = 281474976710655L;
   }

   String c(long var1) {
      if (this.a == null) {
         return null;
      } else {
         if (var1 == 64L) {
            if (!this.a(64L)) {
               return this.a.c;
            }
         } else if (var1 == 128L) {
            if (!this.a(128L)) {
               return this.a.d;
            }
         } else if (var1 == 8589934592L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(8589934592L)) {
               return this.a.b.e.d;
            }
         } else if (var1 == 4398046511104L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(4398046511104L)) {
               return this.a.b.e.m;
            }
         } else if (var1 == 2147483648L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(2147483648L)) {
               return this.a.b.e.b;
            }
         } else if (var1 == 4294967296L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(4294967296L)) {
               return this.a.b.e.c;
            }
         } else if (var1 == 274877906944L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(274877906944L)) {
               return this.a.b.e.i;
            }
         } else if (var1 == 35184372088832L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(35184372088832L)) {
               return this.a.b.e.p;
            }
         } else if (var1 == 68719476736L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(68719476736L)) {
               return this.a.b.e.g;
            }
         } else if (var1 == 8796093022208L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(8796093022208L)) {
               return this.a.b.e.n;
            }
         } else if (var1 == 1099511627776L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(1099511627776L)) {
               return this.a.b.e.k;
            }
         } else if (var1 == 17179869184L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(17179869184L)) {
               return this.a.b.e.e;
            }
         } else if (var1 == 137438953472L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(137438953472L)) {
               return this.a.b.e.h;
            }
         } else if (var1 == 549755813888L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(549755813888L)) {
               return this.a.b.e.j;
            }
         } else if (var1 == 2199023255552L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(2199023255552L)) {
               return this.a.b.e.l;
            }
         } else if (var1 == 34359738368L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(34359738368L)) {
               return this.a.b.e.f;
            }
         } else if (var1 == 17592186044416L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(17592186044416L)) {
               return this.a.b.e.o;
            }
         } else if (var1 == 1073741824L) {
            if (this.a.b != null && this.a.b.e != null && !this.a(1073741824L)) {
               return this.a.b.e.a;
            }
         } else if (var1 == 67108864L) {
            if (this.a.b != null && !this.a(67108864L)) {
               return this.a.b.b;
            }
         } else if (var1 == 134217728L) {
            if (this.a.b != null && !this.a(134217728L)) {
               return this.a.b.c;
            }
         } else if (var1 == 536870912L) {
            if (this.a.b != null && !this.a(536870912L)) {
               return this.a.b.f;
            }
         } else if (var1 == 33554432L) {
            if (this.a.b != null && !this.a(33554432L)) {
               return this.a.b.a;
            }
         } else if (var1 == 268435456L && this.a.b != null && !this.a(268435456L)) {
            return this.a.b.d;
         }

         return null;
      }
   }
}
